package com.lsk.util;

import com.jfinal.kit.PropKit;

/**
 * Created by Administrator on 2017/10/25 0025.
 */
public class GlobalParameter {
    /*是否是开发环境 */
    public static boolean windows=PropKit.getBoolean("windows");;// ture是开发环境，false为生产环境
    /*采用三元表达式分别配置不同操作系统下的路径*/
    //图片服务器
    //项目根路径
    public static String rootPath=PropKit.get("rootPath");
    /*OOS上传*/
    public static final String accessKeyId = PropKit.get("accessKeyId");
    public static final String accessKeySecret = PropKit.get("accessKeySecret");

    // RoleArn 需要在 RAM 控制台上获取
    public static final String roleArn = "acs:ram::1131132099478420:role/dy";

    // RoleSessionName 是临时Token的会话名称，自己指定用于标识你的用户，主要用于审计，或者用于区分Token颁发给谁
    public static final String roleSessionName = "external-username";//用户

    //ststement权限 策略
    public static final String policy ="{\n" +
            "  \"Statement\": [\n" +
            "    {\n" +
            "      \"Action\": \"sts:AssumeRole\",\n" +
            "      \"Effect\": \"Allow\",\n" +
            "      \"Resource\": \"*\"\n" +
            "    }\n" +
            "  ],\n" +
            "  \"Version\": \"1\"\n" +
            "}";
    //OOS域名网址
    public static final String OOSUrl= "oss-cn-qingdao.aliyuncs.com";
    //OOS BucketName
    public static final String bucketName="dingyuan";
    //图片上传临时路径
    public static final String tempImgs=PropKit.get("tempImgs");



    /*分享域名*/
    public static  String domain=PropKit.get("domain");
    /*授权域名*/
    public static  String authorizationDomain=PropKit.get("authorizationDomain");


    public static final String resourceDomain=PropKit.get("resourceDomain");

    public static final String logoPath=resourceDomain+"/dingyuan/activity2018/logo.jpg";

    /*支付宝文件路径*/
    public static final String apiclientPath=PropKit.get("apiclientPath");

    /*短信配置*/
    public static final String smsAccessKeyId=PropKit.get("smsAccessKeyId");
    public static final String smsAccessKeySecret=PropKit.get("smsAccessKeySecret");
    public static final String smsTemplateCode=PropKit.get("smsTemplateCode");//验证码${code}，您正在进行身份验证，打死不要告诉别人哦
    public static final String smsSignName=PropKit.get("smsSignName");//短信签名

    public static final String payKey= PropKit.get("payKey");


    public static final String templateMessageId="8qUcucMBK8Lh_QdnGfvVFnR8z_tW1SLOI1M3ApOsjXs";

    public static final String timestamp="1539158701295";

    public static final  boolean yjfstate = true;

    public static final  boolean xkstate = true;




}
